/**
 * 项目名：admin
 * 包名：com.xuebang.admin.entity
 * 文件名：Link.java
 * 版本信息：@version 1.0
 * 日期：2014-2-17-下午3:55:19
 */
package com.xuebang.admin.entity;

import java.util.Date;

import javax.persistence.Column;
import javax.persistence.Id;
import javax.persistence.Table;

import org.springframework.web.multipart.commons.CommonsMultipartFile;

/**
 * 项目名称：admin
 * 类名称：Link
 * 类描述：
 * 创建人：xuyang
 * 创建时间：2014-2-17 下午3:55:19
 * 修改人：xuyang
 * 修改时间：2014-2-17 下午3:55:19
 * 修改备注：
 * @version 
 */
@Table(name="links")
public class Links {
	
	@Id
	private Integer id;
	
	@Column
	private Integer type;
	
	@Column
	private String pic;
	
	@Column
	private String theme;
	
	@Column
	private String url;
	
	@Column
	private Integer sort;
	
	@Column
	private Date posttime;
	
	@Column
	private Integer iftop;
	
	@Column
	private Integer cid;
	
	@Column
	private String reserved;
	
	/** 缩略图 */
	private CommonsMultipartFile picFile;

	public Integer getId() {
		return id;
	}

	public void setId(Integer id) {
		this.id = id;
	}

	public Integer getType() {
		return type;
	}

	public void setType(Integer type) {
		this.type = type;
	}

	public String getPic() {
		return pic;
	}

	public void setPic(String pic) {
		this.pic = pic;
	}

	public String getTheme() {
		return theme;
	}

	public void setTheme(String theme) {
		this.theme = theme;
	}

	public String getUrl() {
		return url;
	}

	public void setUrl(String url) {
		this.url = url;
	}

	public Integer getSort() {
		return sort;
	}

	public void setSort(Integer sort) {
		this.sort = sort;
	}

	public Date getPosttime() {
		return posttime;
	}

	public void setPosttime(Date posttime) {
		this.posttime = posttime;
	}

	public Integer getIftop() {
		return iftop;
	}

	public void setIftop(Integer iftop) {
		this.iftop = iftop;
	}

	public Integer getCid() {
		return cid;
	}

	public void setCid(Integer cid) {
		this.cid = cid;
	}

	public String getReserved() {
		return reserved;
	}

	public void setReserved(String reserved) {
		this.reserved = reserved;
	}

	public CommonsMultipartFile getPicFile() {
		return picFile;
	}

	public void setPicFile(CommonsMultipartFile picFile) {
		this.picFile = picFile;
	}
}
